#ifndef __HAL_H__
#define __HAL_H__
#include "hal_config.h"
#include "hal_type.h"
#include "base_types.h"
#include "hc32l17x.h"
#include "ddl.h"
#include "sysctrl.h"
#include "gpio.h"
#include "wdt.h"
#include "lvd.h"
#include "rtc.h"
#include "lptim.h"
#include "lpm.h"
#include "bt.h"
#include "adt.h"
#include "uart.h"
#include "lpuart.h"
#include "adc.h"
#include "vc.h"
#include "flash.h"
#include "lcd.h"
#include "hal_clock.h"
#include "hal_gpio.h"
#include "hal_adc.h"
#define ei()    		 __enable_irq()
#define di()   			 __disable_irq()  
#define nop()  			 __NOP()
#define wait() 			 __WFI();
#define reset()      NVIC_SystemReset()
#endif /* __HAL_H__ */
